package com.ouyeel.wlxer.model;

import android.app.Activity;

import com.ouyeel.wlxer.activity.MainActivity;
import com.ouyeel.wlxer.activity.ManualClockingActivity;
import com.ouyeel.wlxer.bean.GoWrokIn;

import okhttp3.RequestBody;

/**
 * Created by rankaifeng on 2017/10/26.
 */

public interface MainModel {
    /**
     * 上传二维码信息
     *
     * @param wrokIn
     * @return
     */
    void uploadqrcode(Activity activity, GoWrokIn wrokIn);

    /**
     * 退出登陆
     *
     * @param body
     * @return
     */
    void outlogin(MainActivity activity, RequestBody body);

    /**
     * 打卡下班
     *
     * @param goWrokIn
     * @return
     */
    void clockOut(MainActivity activity, GoWrokIn goWrokIn);

    /**
     * 获取车牌号
     *
     * @param activity
     * @param body
     */
    void getCarNumbers(ManualClockingActivity activity, RequestBody body);
}
